// mm.txt - basically checks to see if move mountains have been used nearby.
// 

// Memory Cells - 
//   0 - Number of a state in the town script. This is the state that is called when the item is used.
//   1,2 - Coordinates for a stuff done flag. If these are 0 and 0, ignored. Otherwise,
//     is the given flag is non-zero, nothing happens when the object is used.

beginterrainscript; 

variables;

body;

beginstate INIT_STATE;

set_ter_script_mode(-1,3);

	break;

beginstate START_STATE;

if((get_terrain(10,41) != 34) || (get_terrain(8,39) != 37) || (get_terrain(10,37) != 36)) {
	run_scenario_script(10);
	if(get_flag(5,8) == 0) {
		set_terrain(10,36,441);
		set_terrain(11,42,441);
		set_terrain(7,39,441);
		set_terrain(13,38,441);
		set_flag(5,8,1);
}
}
break;

beginstate SEARCH_STATE;

break;
